﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Dukous.Domain
{
    /// <summary>
    /// 枚举分类
    /// </summary>
    public class EnumerationCategory : Entity<long>
    {
        /// <summary>
        /// 获取 / 设置 父枚举分类
        /// </summary>
        public virtual EnumerationCategory Parent { get; set; }

        /// <summary>
        /// 获取 / 设置 子枚举分类
        /// </summary>
        public virtual IList<EnumerationCategory> Children { get; set; }

        /// <summary>
        /// 获取 / 设置 枚举分类
        /// </summary>
        public virtual string Code { get; set; }

        /// <summary>
        /// 获取 / 设置 枚举分类文本
        /// </summary>
        public virtual string Text { get; set; }

        /// <summary>
        /// 获取 / 设置 枚举分类描述
        /// </summary>
        public virtual string Description { get; set; } 
    }
}
